﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Calculate
    {
        /* protected int num1;
         protected int num2;
         protected int Num1 {
             get { } 
         }*/

        protected int Num1 { get; set; }
        protected int Num2 { get; set; }

        public Calculate(int num1, int num2)
        {
            Num1 = num1;
            Num2 = num2;
        }

        public virtual void DisplayResult() {  
            
        }

    }
}
